//
//  LineView.m
//  cityStar
//
//  Created by wangjia on 14/12/13.
//  Copyright (c) 2014年 tiny. All rights reserved.
//

#import "LineView.h"
#import "ColorUtil.h"

@implementation LineView

- (void)awakeFromNib{
    self.backgroundColor = [ColorUtil colorFromHexRGB:@"ececec"];
    
    CGRect rect = self.frame;
    if (self.frame.size.width == 1) {
        rect.size.width = 0.5;
    }
    if (self.frame.size.height == 1) {
        rect.size.height = 0.5;
    }
    self.frame = rect;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
